TARGET=ftrScanAPI_Ex

#CC=arm-linux-uclibc-gcc
#CC=gcc
CC=arm-unknown-linux-gnu-gcc
CFLAGS=-Wall -O2 -I./       

#dynamic library
LIBUSB_DLIB=-lusb
FTRSCANAPI_DLIB=libScanAPI.so

all: $(TARGET)

$(TARGET): $(TARGET).c
	$(CC) $(CFLAGS) -o $(TARGET) $(TARGET).c $(FTRSCANAPI_DLIB) $(LIBUSB_DLIB)

clean:
	rm -f $(TARGET)
